import Link from 'next/link';

export default () => {
  return (
    <div>
      <Link href='/bloglist'>bloglist</Link>
      <br/>
      <Link href='/about'>about</Link>
    </div>
  )
};

/** 同时使用getStaticXX系列和getServerSideProps会报错! */
/*export async function getStaticPaths(){
  console.log('---index---getStaticProps---');
  return {
    props:{}
  }
}*/

/*export async function getServerSideProps({params,req,res,query,preview,previewData}){
  console.log('---index---getServerSideProps---');
  return {
    props:{}
  }
}*/
